package com.celesea.auth.menu.vo;

import com.celesea.framework.dao.TenantFilterAdapter;
import com.celesea.framework.util.EnvUtil;

public class MenuFilter extends TenantFilterAdapter {
    private String userId;
    private Byte statusFlag;
    private Byte menuFlag;

    public MenuFilter(){
        super(EnvUtil.getTenantId());
        this.userId=EnvUtil.getLoginUser().getId();
    }

    public MenuFilter(Byte statusFlag) {
        this.statusFlag=statusFlag;
        this.userId=EnvUtil.getLoginUser().getId();
    }

    public Byte getStatusFlag() {
        return statusFlag;
    }

    public void setStatusFlag(Byte statusFlag) {
        this.statusFlag = statusFlag;
    }

    public Byte getMenuFlag() {
        return menuFlag;
    }

    public void setMenuFlag(Byte menuFlag) {
        this.menuFlag = menuFlag;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }
}
